package top.drinyeit.nongmao.model;

import java.io.Serializable;

/**
 * Created by Administrator on 2018/2/3.
 */

public class UserAddressBean implements Serializable {
    private int id;
    private String user_id;
    private String consignee_name;
    private String consignee_phone;
    private AddressDetailJsonBean address_detail;
    private int default_flag;

    public UserAddressBean(AddressDetailJsonBean address_detail, String consignee_name, String consignee_phone){
        this.address_detail = address_detail;
        this.consignee_name = consignee_name;
        this.consignee_phone = consignee_phone;
        id = 0;
        user_id = "";
        default_flag = 0;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setConsignee_phone(String consignee_phone) {
        this.consignee_phone = consignee_phone;
    }

    public void setConsignee_name(String consignee_name) {
        this.consignee_name = consignee_name;
    }

    public void setAddress_detail(AddressDetailJsonBean address_detail) {
        this.address_detail = address_detail;
    }

    public void setDefault_flag(int default_flag) {
        this.default_flag = default_flag;
    }

    public void setUser_id(String user_id) {
        this.user_id = user_id;
    }

    public String getUser_id() {
        return user_id;
    }

    public String getConsignee_phone() {
        return consignee_phone;
    }

    public String getConsignee_name() {
        return consignee_name;
    }

    public AddressDetailJsonBean getAddress_detail() {
        return address_detail;
    }

    public int getDefault_flag() {
        return default_flag;
    }

    public int getId() {
        return id;
    }

}

